package com.mybatisplugin.springboot.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mybatisplugin.springboot.mapper.RoleMapper;
import com.mybatisplugin.springboot.model.Role;

@Service
public class RoleService {

    @Autowired
    private RoleMapper roleMapper;
    
    public void add(Map<String, Object> map) {
    	Role role = new Role();
    	roleMapper.insert(role);
    }

}